#! /bin/bash


echo -n "please input your level(A/B/C/D/E)"
read level
echo "level = $level"

case $level in
    "A")
        echo "90<=score<=100"
        ;;
    "B")
        echo "80<=score<=90"
        ;;
    "C")
        echo "70<=score<=80"
        ;;
    "D")
        echo "60<=score<=70"
        ;;
    "E")
        echo "0<=score<=60"
        ;;
    *)
        echo "please re-enter"
        ;;
esac


